package org.hcyspartnoc.demo.pojo.dto.course;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@NoArgsConstructor
public class CourseInfoDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "课程ID不能为空")
    private Integer id;

    private String courseCode; // 课程编号

    private String courseName; // 课程名称

    private String courseEnname; // 课程英文名称

    private Integer collegeId; // 开课单位

    private Integer characterId; // 课程性质ID

    private String category; // 课程类别

    private String semester; // 授课学期

    private String credit; // 学分

    private String hours; // 学时

    private String inClassHours; // 课堂学时

    private String theoretical; // 理论授课

    private String inClassPractice; // 课堂实践

    private String computerHours; // 上机学时

    private String experimentalHours; // 实验学时

    private String outClassHours; // 课外学时

    private Integer majorId; // 适用专业ID

    private String bilingual; // 是否双语

}
